package com.xinke.module.system.model.vo.mail;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 邮件模版 Response VO")
@Data
@ExcelIgnoreUnannotated
public class MailTemplateRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "30672")
    @ExcelProperty("编号")
    private Long templateId;

    @Schema(description = "模板名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("模板名称")
    private String templateName;

    @Schema(description = "模板编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("模板编码")
    private String templateCode;

    @Schema(description = "发送的邮箱账号编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "20580")
    @ExcelProperty("发送的邮箱账号编号")
    private Long mailAcctId;

    @Schema(description = "发送人名称", example = "李四")
    @ExcelProperty("发送人名称")
    private String templateNickName;

    @Schema(description = "模板标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("模板标题")
    private String templateTitle;

    @Schema(description = "模板内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("模板内容")
    private String templateContent;

    @Schema(description = "参数数组", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("参数数组")
    private String templateParams;

    @Schema(description = "开启状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("开启状态")
    private Integer templateStatus;

    @Schema(description = "备注", example = "你猜")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}